//
//  CycleItem.m
//  CycleShuffling
//
//  Created by 好米有易 on 2017/9/5.
//  Copyright © 2017年 好米有易. All rights reserved.
//

#import "CycleItem.h"

@interface CycleItem ()



@end

@implementation CycleItem

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    
    if (self) {
        
        
        [self.contentView addSubview:self.imgView];
    }
    
    return self;
}


#pragma mark - lazy UI -
- (UIImageView *)imgView {
    if (_imgView == nil) {
        
        _imgView = [[UIImageView alloc] initWithFrame:self.bounds];
    }
    
    return _imgView;
}


@end
